import { get } from '@/api'

const api = {
  OUTWARE_ALL: '/api/ware/outware',
  ADD_PRO: '/api/ware/inware',
  WARE_ALL: '/api/ware/wareall',
  FING_NAME: '/api/ware/likeWare',
  OUT_WARE: '/api/ware/outWarePro'
}
// 查询所有出库的
export const outwareAll = params => get(api.OUTWARE_ALL, params)
// 对商品进行入库
export const inwarePro = data => get(api.ADD_PRO, data)
// 查询所有入库的
export const wareAll = params => get(api.WARE_ALL, params)
// 模糊查询仓库名称
export const findNameWare = params => get(api.FING_NAME, params)
// 对商品进行出库
export const outWarePro = params => get(api.OUT_WARE, params)
